package com.efast.dmom.mes.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.efast.dmom.mes.bean.QualityCheck;
import com.efast.dmom.mes.bean.ResultBean;
@Service
public interface QualityCheckService{
	public ResultBean save(QualityCheck obj);
	public ResultBean delete(QualityCheck obj);
	public ResultBean update(QualityCheck obj);
	public QualityCheck getById(long id);
	public QualityCheck getByName(String name);
	
	public ResultBean batchDeleteByIds(List<QualityCheck> list);
	
	public List<QualityCheck> getAllParentData();
	
	public ResultBean getChildByParentId(QualityCheck qualityCheck);
	
	public ResultBean validateIfChildListById(List<QualityCheck> list);
}
